home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2001 December / december_2001.iso / Internet Programs / HTML Webmaster 2.0 / _SETUP.1 / adoconsts.asp < prev    next >
Encoding:
Text File  |  2000-07-20  |  2.9 KB  |  101 lines

  1. <%
  2. '=======================================================================
  3. '
  4. ' "ASP Forums" - a web-based discussion forum implementation.
  5. ' Copyright (C) 1999, 2000  ASP Forums, http://www.aspforums.com/
  6. '
  7. ' This library is free software; you can redistribute it and/or
  8. ' modify it under the terms of the GNU Lesser General Public
  9. ' License as published by the Free Software Foundation; either
  10. ' version 2.1 of the License, or (at your option) any later version.
  11. '
  12. ' This library is distributed in the hope that it will be useful,
  13. ' but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. ' Lesser General Public License for more details.
  16. '
  17. ' You should have received a copy of the GNU Lesser General Public
  18. ' License along with this library; if not, write to the Free Software
  19. ' Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  20. '
  21. '=======================================================================
  22.  
  23. '=======================================================================
  24. ' ASP Forums version 2.0 beta 2 - July 20th 2000.
  25. '=======================================================================
  26.  
  27. ' Appearance Constants
  28. Const adFlatBevel = 0
  29. Const ad3Dbevel = 1
  30.  
  31. ' BOFAction Constants
  32. Const adDoMoveFirst = 0
  33. Const adStayBOF = 1
  34.  
  35. ' CommandType Constants
  36. Const adCmdText = 1
  37. Const adCmdTable = 2
  38. Const adCmdStoredProc = 4
  39. Const adCmdUnknown = 8
  40.  
  41. ' Mode Constants
  42. Const adModeUnknown = 0
  43. Const adModeRead = 1
  44. Const adModeWrite = 2
  45. Const adModeReadWrite = 3
  46. Const adModeShareDenyRead = 4
  47. Const adModeShareDenyWrite = 8
  48. Const adModeShareExclusive = 12
  49. Const adModeShareDenyNone = 16
  50.  
  51. ' ConnectionString Constants
  52. Const adConnectStringTypeUnknown = 0
  53. Const adOLEDB = 1
  54. Const adOLEDBFile = 2
  55. Const adODBC = 3
  56.  
  57. ' CursorLocation Constants
  58. Const adUseServer = 2
  59. Const adUseClient = 3
  60.  
  61. ' CursorType Constants
  62. Const adOpenForwardOnly = 0 ' Note   ForwardOnly cursors are not available for the ADO Data Control.
  63. Const adOpenKeyset = 1
  64. Const adOpenDynamic = 2
  65. Const adOpenStatic = 3
  66.  
  67. ' EOFAction Constants
  68. Const adDoMoveLast = 0
  69. Const adStayEOF = 1
  70. Const adDoAddNew = 2
  71.  
  72. ' EventReason Constants
  73. Const adRsnAddNew = 1
  74. Const adRsnDelete = 2
  75. Const adRsnUpdate = 3
  76. Const adRsnUndoUpdate = 4
  77. Const adRsnUndoAddNew = 5
  78. Const adRsnUndoDelete = 6
  79. Const adRsnRequery = 7
  80. Const adRsnResynch = 8
  81. Const adRsnClose = 9
  82. Const adRsnMove = 10
  83.  
  84. ' EventStatus Constants
  85. Const adStatusOK = 1
  86. Const adStatusErrorsOccurred = 2
  87. Const adStatusCantDeny = 3  
  88. Const adStatusCancel = 4
  89. Const adStatusUnwantedEvent = 5  
  90.  
  91. ' LockType Constants
  92. Const adLockUnspecified = -1
  93. Const adLockReadOnly = 1
  94. Const adLockPessimistic = 2
  95. Const adLockOptimistic = 3
  96. Const adLockBatchOptimistic = 4
  97.  
  98. ' Orientation Constants
  99. Const adHorizontal = 0
  100. Const adVertical = 1
  101. %>